﻿package core  {
	
	
	import base.BaseMc;
	import flash.text.TextField;
	
	public class verticalListView extends BaseMc {

		public function verticalListView() {
			// constructor code
		}
		
		//当影片放到场景上后的初始化方法
		protected override function onInit():void {
			
			for(var i:int=0 ;i<10;i++){
				var textField : TextField= new TextField();
				textField.width =100;
				textField.height =100;
				textField.x = 100;
				textField.y = 100 +i*100;
				textField.text = i+"text";
				this.addChild(textField);
			}
			
			
		}
		
		//当影片从场景上移除的时候周期方法 
		protected override function onRemove():void {
			
		}
		
		

	}
	
}
